package com.woniu.user.service;

import com.woniu.user.controller.form.AddCommentForm;
import com.woniu.user.model.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author Silas
 * @since 2023-02-15
 */
public interface CommentService extends IService<Comment> {

    Boolean reply(Integer id, String content);

    List<Comment> query(Integer articleId);

    Boolean addComment(Integer userId, AddCommentForm addCommentForm);
}
